
import request from '@/utils/request';

// 查询列表
export async function queryScene(params) {
  return request('/b/kmsscene/queryPageList', {
    method: 'POST',
    params,
  });
}


// 新增
export async function addScene(params) {
  return request('/b/kmsscene/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function deleteScene(params) {
  return request('/b/kmsscene/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateScene(params) {
  return request('/b/kmsscene/update', {
    method: 'POST',
    data: params,
  });
}
